package com.aim.game;

/**
 * Created with IntelliJ IDEA.
 * User: User
 * Date: 4/28/14
 * Time: 10:32 PM
 * To change this template use File | Settings | File Templates.
 */
public enum MC {

    FIX(0),
    M1(1),
    M2(2),
    M3(3);

    public final int index;

    private MC(int index) {
        this.index = index;
    }

    public static MC next(MC mc){
        if (mc == M3){
            return FIX;
        }
        return values()[mc.index+1];
    }
}
